package com.study.manage.domain;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.apache.commons.lang3.builder.ToStringBuilder;

import com.study.manage.domain.enumm.LiveDieState;

@Entity
@Table(name = "sa_album")
public class Album extends AbstractEntity {

    private static final long serialVersionUID = 1938436687310552813L;
    public Long userId;
    public String url;
    public LiveDieState state = LiveDieState.LIVE;

    public Album() {

    }

    public Album(Long id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }

}
